import saveFile from "./保存文件工具.js"

let json = {

    checklistData: [{
        "id": "66544cd9f2e1e935f0018084ee7fb5c1",
        "listType": 1,
        "factoryCode": "999",
        "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
        "checkListNo": "DP20231215034",
        "u8DetailId": "1000021367",
        "inventoryCode": "3EE02044-B",
        "inventoryAppellation": "SIBA熔断器底座5805806.IP",
        "specification": "SIBA熔断器底座5805806.IP",
        "unit": "EA",
        "batchNo": "QC20230618",
        "wareLocationCode": "Z03021",
        "wareLocationName": "Z03021原材料仓重型保税货架3排",
        "stockCount": 90000.0000,
        "checkCount": 0.0,
        "originalCheckCount": 100.0000,
        "profitCount": -90000.0000,
        "createType": 1,
        "needCheck": true,
        "createTypeName": "U8预生成",
        "inventoryCheckRecordList": []
    },
        {
            "id": "6c6a8661730d441b19bf9842b464884f",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021366",
            "inventoryCode": "3EE02044-B",
            "inventoryAppellation": "SIBA熔断器底座5805806.IP",
            "specification": "SIBA熔断器底座5805806.IP",
            "unit": "EA",
            "batchNo": "U20230811014",
            "wareLocationCode": "Z03031",
            "wareLocationName": "Z03031原材料仓重型保税货架3排",
            "stockCount": 50000.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -50000.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "2306b05f3eb38d2210e7e1d3c4e6a70e",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021457",
            "inventoryCode": "3EE02160/5-B",
            "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，50mm2，红",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z03141",
            "wareLocationName": "Z03141原材料仓重型保税货架3排",
            "stockCount": 0.0000,
            "checkCount": 10.05,
            "originalCheckCount": 100.0000,
            "profitCount": 10.0500,
            "createType": 2,
            "needCheck": true,
            "createTypeName": "盘点时生成",
            "inventoryCheckRecordList": [
                {
                    "id": "2627dd952337db6db9461861ffb71755",
                    "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
                    "factoryCode": "999",
                    "checkListNo": "DP20231215034",
                    "checkListDate": "2023-12-15",
                    "checkListDetailId": "2306b05f3eb38d2210e7e1d3c4e6a70e",
                    "barcode": "RCT-3EE02160/5-B-20231216-000002",
                    "status": 1,
                    "statusName": "正常",
                    "inventoryCode": "3EE02160/5-B",
                    "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，50mm2，红",
                    "specification": "具体参数见图纸",
                    "unit": "米m",
                    "batchNo": "QC20230618",
                    "wareLocationCode": "Z03141",
                    "wareLocationName": "Z03141原材料仓重型保税货架3排",
                    "checkCount": 10.0500,
                    "submitTime": "2023-12-16 16:47:38",
                    "checkUserId": "b52f959014988f98aa7a7ee866134f1c",
                    "checkUserName": "赵盟",
                    "checkUserNameEn": "darren",
                    "checkUserEmp": "R0289",
                    "deleteUserId": null,
                    "deleteUserName": null,
                    "deleteUserNameEn": null,
                    "deleteUserEmp": null,
                    "deleteTime": null,
                    "canDelete": true
                }
            ]
        },
        {
            "id": "f3096217ab141dd484d0f1199999c238",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021423",
            "inventoryCode": "3EE02229/02-B",
            "inventoryAppellation": "BETAtherm 145 UL3271/CSA AWM I A/B 125℃/600V,16AWG,Black",
            "specification": "BETAtherm 145 UL3271/CSA AWM I A/B 125℃/600V,16AWG,Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z03141",
            "wareLocationName": "Z03141原材料仓重型保税货架3排",
            "stockCount": 850.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -850.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "2ed6b5e8544f26d43d6369ca705b3303",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021424",
            "inventoryCode": "3EE02229/52-B",
            "inventoryAppellation": "BETAtherm 145 UL3271/CSA AWM I A/B 125℃/600V,14AWG,Black",
            "specification": "BETAtherm 145 UL3271/CSA AWM I A/B 125℃/600V,14AWG,Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z03141",
            "wareLocationName": "Z03141原材料仓重型保税货架3排",
            "stockCount": 200.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -200.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "749ced13443cfcce528dfd15033dde27",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021425",
            "inventoryCode": "3EE02239-B",
            "inventoryAppellation": "Fire Alarm Cable CL2R/CMR/CMG/FT4 (2xAWG 16 / 300V)",
            "specification": "281602",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z03141",
            "wareLocationName": "Z03141原材料仓重型保税货架3排",
            "stockCount": 136.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -136.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "dae0182d6973b1770ea2bb151f1855ce",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021456",
            "inventoryCode": "3EE02044-B",
            "inventoryAppellation": "SIBA熔断器底座5805806.IP",
            "specification": "SIBA熔断器底座5805806.IP",
            "unit": "EA",
            "batchNo": "U20230811014",
            "wareLocationCode": "Z03141",
            "wareLocationName": "Z03141原材料仓重型保税货架3排",
            "stockCount": 0.0000,
            "checkCount": 12.223,
            "originalCheckCount": 100.0000,
            "profitCount": 12.2230,
            "createType": 2,
            "needCheck": true,
            "createTypeName": "盘点时生成",
            "inventoryCheckRecordList": [
                {
                    "id": "01a949ecfe7e7ecaf9baaf2df85e9cf1",
                    "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
                    "factoryCode": "999",
                    "checkListNo": "DP20231215034",
                    "checkListDate": "2023-12-15",
                    "checkListDetailId": "dae0182d6973b1770ea2bb151f1855ce",
                    "barcode": "RCT-3EE02044-B-20231216-000002",
                    "status": 1,
                    "statusName": "正常",
                    "inventoryCode": "3EE02044-B",
                    "inventoryAppellation": "SIBA熔断器底座5805806.IP",
                    "specification": "SIBA熔断器底座5805806.IP",
                    "unit": "EA",
                    "batchNo": "U20230811014",
                    "wareLocationCode": "Z03141",
                    "wareLocationName": "Z03141原材料仓重型保税货架3排",
                    "checkCount": 12.2230,
                    "submitTime": "2023-12-16 16:39:23",
                    "checkUserId": "b52f959014988f98aa7a7ee866134f1c",
                    "checkUserName": "赵盟",
                    "checkUserNameEn": "darren",
                    "checkUserEmp": "R0289",
                    "deleteUserId": null,
                    "deleteUserName": null,
                    "deleteUserNameEn": null,
                    "deleteUserEmp": null,
                    "deleteTime": null,
                    "canDelete": true
                }
            ]
        },
        {
            "id": "0b3f9ddb13eb7eb504563824b522ed5d",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021387",
            "inventoryCode": "3EE02169/14-B",
            "inventoryAppellation": "UL version wire, 16 AWG, Red",
            "specification": null,
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 20.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -20.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "9a5b8fdd3655a1568085a9f8b126bdba",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021391",
            "inventoryCode": "3EE02169/22-B",
            "inventoryAppellation": "UL version wire, 14 AWG, Black",
            "specification": "UL version wire, 14 AWG, Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 450.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -450.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "da8fd545f5294ffb401a65a3c5a66370",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021394",
            "inventoryCode": "3EE02169/28-B",
            "inventoryAppellation": "UL version wire, 14 AWG, White",
            "specification": "UL version wire, 14 AWG, White",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 134.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -134.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "5251636f48278c6940ee9aafe9068123",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021398",
            "inventoryCode": "3EE02169/30-B",
            "inventoryAppellation": "UL version wire, 14 AWG, YE/GN",
            "specification": null,
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 93.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -93.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "5a82f9b7e0355252b300a95b0a3deda7",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021399",
            "inventoryCode": "3EE02169/31-B",
            "inventoryAppellation": "UL version wire, 12 AWG, Black",
            "specification": "UL version wire, 12 AWG, Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 128.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -128.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "fb0beb01d3261785981f4ca173b98daf",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021400",
            "inventoryCode": "3EE02169/37-B",
            "inventoryAppellation": "UL version wire, 12 AWG, White",
            "specification": "UL version wire, 12 AWG, White",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 131.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -131.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "514dba716ab94f78fb7eef68a2158c01",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021406",
            "inventoryCode": "3EE02169/58-B",
            "inventoryAppellation": "UL version wire, 6 AWG, Black",
            "specification": "UL version wire, 6 AWG, Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 15.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -15.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "873d889d350836f3e2dc3f253d615b94",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021408",
            "inventoryCode": "3EE02169/59-B",
            "inventoryAppellation": "UL version wire, 6 AWG, Red",
            "specification": "UL version wire, 6 AWG, Red",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 15.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -15.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "281ea4d24d7836606e9f36f8ca46e5a8",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021410",
            "inventoryCode": "3EE02169/64-B",
            "inventoryAppellation": "UL version wire, 6 AWG, White",
            "specification": "UL version wire, 6 AWG, White",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 64.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -64.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "6628cf22163496a409155de47f5f66d7",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021412",
            "inventoryCode": "3EE02169/65-B",
            "inventoryAppellation": "UL version wire, 6 AWG, Blue",
            "specification": "UL version wire, 6 AWG, Blue",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 15.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -15.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "94f654dc4f7306082aa4394650a0bf4e",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021414",
            "inventoryCode": "3EE02169/75-B",
            "inventoryAppellation": "UL version wire, 4 AWG, YE/GN",
            "specification": "UL version wire, 4 AWG, YE/GN",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 26.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -26.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "1c6c2a9fcb9b6ef9f3dc323006e30b85",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021415",
            "inventoryCode": "3EE02169/78-B",
            "inventoryAppellation": "UL version wire, 2 AWG, Brown",
            "specification": "UL version wire, 2 AWG, Brown",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 18.8000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -18.8000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "7b88a77a7981c3a3af0139a6804daa8e",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021416",
            "inventoryCode": "3EE02169/79-B",
            "inventoryAppellation": "UL version wire, 2 AWG, Orange",
            "specification": "UL version wire, 2 AWG, Orange",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 24.8000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -24.8000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "486b8918dcc724faa22d9aa1e62b0300",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021417",
            "inventoryCode": "3EE02169/80-B",
            "inventoryAppellation": "UL version wire, 2 AWG, Yellow",
            "specification": "UL version wire, 2 AWG, Yellow",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 16.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -16.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "e267e6ae93dcc8ea332c42d1ecf7601a",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021419",
            "inventoryCode": "3EE02169/84-B",
            "inventoryAppellation": "UL version wire, 2 AWG, YE/GN",
            "specification": "UL version wire, 2 AWG, YE/GN",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 14.5000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -14.5000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "484126ae5a43bd94e498c59ea69794ad",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021389",
            "inventoryCode": "3EE02169/14-B",
            "inventoryAppellation": "UL version wire, 16 AWG, Red",
            "specification": null,
            "unit": "米m",
            "batchNo": "U20230726038",
            "wareLocationCode": "Z04011",
            "wareLocationName": "Z04011原材料仓重型保税货架4排",
            "stockCount": 305.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -305.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "c1b789003ed1fcfa04c483bb8b1ab68d",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021373",
            "inventoryCode": "3EE02159/37-B",
            "inventoryAppellation": "单芯铜绞低烟无卤阻燃电缆，IEC标准，10，黄绿",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 70.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -70.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "bc5310f2b3391f70ae634d79368a4463",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021376",
            "inventoryCode": "3EE02159/73-B",
            "inventoryAppellation": "单芯铜绞低烟无卤阻燃电缆，IEC标准，70，黑",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 11.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -11.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "90ca0bf423b1bfaffe8fa0705e26bd48",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021377",
            "inventoryCode": "3EE02160/11-B",
            "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，1.5mm2，红",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 5.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -5.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "6b4f4cac2c2e9c21692c96fb748ad30f",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021378",
            "inventoryCode": "3EE02160/12-B",
            "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，1.5mm2，黑",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 5.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -5.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "47f0ff9e0d4cf89a42e05e0a114c86d9",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021379",
            "inventoryCode": "3EE02160/5-B",
            "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，50mm2，红",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 13.0000,
            "checkCount": 14.444,
            "originalCheckCount": 100.0000,
            "profitCount": 1.4440,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": [
                {
                    "id": "be7502f03a10924b6838c64802c5c51c",
                    "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
                    "factoryCode": "999",
                    "checkListNo": "DP20231215034",
                    "checkListDate": "2023-12-15",
                    "checkListDetailId": "47f0ff9e0d4cf89a42e05e0a114c86d9",
                    "barcode": "RCT-3EE02160/5-B-20231216-000001",
                    "status": 1,
                    "statusName": "正常",
                    "inventoryCode": "3EE02160/5-B",
                    "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，50mm2，红",
                    "specification": "具体参数见图纸",
                    "unit": "米m",
                    "batchNo": "QC20230618",
                    "wareLocationCode": "Z04031",
                    "wareLocationName": "Z04031原材料仓重型保税货架4排",
                    "checkCount": 14.4440,
                    "submitTime": "2023-12-16 16:48:01",
                    "checkUserId": "b52f959014988f98aa7a7ee866134f1c",
                    "checkUserName": "赵盟",
                    "checkUserNameEn": "darren",
                    "checkUserEmp": "R0289",
                    "deleteUserId": null,
                    "deleteUserName": null,
                    "deleteUserNameEn": null,
                    "deleteUserEmp": null,
                    "deleteTime": null,
                    "canDelete": true
                }
            ]
        },
        {
            "id": "1f55cb9748e96e4d5e3aecc0e06c176f",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021380",
            "inventoryCode": "3EE02160/6-B",
            "inventoryAppellation": "单芯铜绞低烟无卤电缆，IEC标准，1.8/3.0kV，50mm2，黑",
            "specification": "具体参数见图纸",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 12.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -12.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "d36c58f770340891c3b12a36d1e4bef1",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021401",
            "inventoryCode": "3EE02169/49-B",
            "inventoryAppellation": "UL version wire, 8 AWG, Black",
            "specification": "UL version wire, 8 AWG, Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 20.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -20.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "2044411d6e736e6da127b2a2284095b0",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021405",
            "inventoryCode": "3EE02169/58-B",
            "inventoryAppellation": "UL version wire, 6 AWG, Black",
            "specification": "UL version wire, 6 AWG, Black",
            "unit": "米m",
            "batchNo": "QC20230618",
            "wareLocationCode": "Z04031",
            "wareLocationName": "Z04031原材料仓重型保税货架4排",
            "stockCount": 14.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -14.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "3f52239bfe3180241ff064ea76277436",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021455",
            "inventoryCode": "3EE02044-B",
            "inventoryAppellation": "SIBA熔断器底座5805806.IP",
            "specification": "SIBA熔断器底座5805806.IP",
            "unit": "EA",
            "batchNo": "U20230811014",
            "wareLocationCode": "Z04051",
            "wareLocationName": "Z04051原材料仓重型保税货架4排",
            "stockCount": 0.0000,
            "checkCount": 15.66,
            "originalCheckCount": 100.0000,
            "profitCount": 15.6600,
            "createType": 2,
            "needCheck": true,
            "createTypeName": "盘点时生成",
            "inventoryCheckRecordList": [
                {
                    "id": "6c44ea6587b1d85687949ae242787b85",
                    "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
                    "factoryCode": "999",
                    "checkListNo": "DP20231215034",
                    "checkListDate": "2023-12-15",
                    "checkListDetailId": "3f52239bfe3180241ff064ea76277436",
                    "barcode": "RCT-3EE02044-B-20231216-000001",
                    "status": 1,
                    "statusName": "正常",
                    "inventoryCode": "3EE02044-B",
                    "inventoryAppellation": "SIBA熔断器底座5805806.IP",
                    "specification": "SIBA熔断器底座5805806.IP",
                    "unit": "EA",
                    "batchNo": "U20230811014",
                    "wareLocationCode": "Z04051",
                    "wareLocationName": "Z04051原材料仓重型保税货架4排",
                    "checkCount": 15.6600,
                    "submitTime": "2023-12-16 15:06:11",
                    "checkUserId": "b52f959014988f98aa7a7ee866134f1c",
                    "checkUserName": "赵盟",
                    "checkUserNameEn": "darren",
                    "checkUserEmp": "R0289",
                    "deleteUserId": null,
                    "deleteUserName": null,
                    "deleteUserNameEn": null,
                    "deleteUserEmp": null,
                    "deleteTime": null,
                    "canDelete": true
                }
            ]
        },
        {
            "id": "b54273f5bf4c3eab246177358821a7a2",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021443",
            "inventoryCode": "3EE02281-B",
            "inventoryAppellation": "UL 1424 FPLR shield power limited fire alarm riser cable, 2x 16 AWG",
            "specification": "UL1424-FPLR-2X16AWG",
            "unit": "米m",
            "batchNo": "U20230816031",
            "wareLocationCode": "Z04051",
            "wareLocationName": "Z04051原材料仓重型保税货架4排",
            "stockCount": 5899.2760,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -5899.2760,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        },
        {
            "id": "ae4a693cd652bf5e5f33271a2648f752",
            "listType": 1,
            "factoryCode": "999",
            "checkListId": "a7b824e61bf8419babd163ed9a1b8591",
            "checkListNo": "DP20231215034",
            "u8DetailId": "1000021426",
            "inventoryCode": "3EE02241-B",
            "inventoryAppellation": "传感器/执行器电缆 - SAC-4P-10,0-PUR/M12FS - 1683002",
            "specification": "1683002",
            "unit": "EA",
            "batchNo": "U20230901102",
            "wareLocationCode": "Z04111",
            "wareLocationName": "Z04111原材料仓重型保税货架4排",
            "stockCount": 1.0000,
            "checkCount": 0.0,
            "originalCheckCount": 100.0000,
            "profitCount": -1.0000,
            "createType": 1,
            "needCheck": true,
            "createTypeName": "U8预生成",
            "inventoryCheckRecordList": []
        }
    ]
}

import _ from "lodash"
json.checklistData.forEach(item=>{
    item.inventoryAppellation= item.inventoryAppellation+_.range(1,_.random(16,30,false)).join()
})
saveFile("./测试的/data.json", json)
